<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><%= __('hy') %></title>
    <link href="/image/favicon.ico" rel="shortcut icon">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_607959_dp67g6vf79icnmi.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_607959_8t0w2txptnj.css">
    <link rel="stylesheet" href="/mcss/base.css">
    <link rel="stylesheet" href="/mcss/promotiondetail.css">
</head>
<body>
    <%- include('base/mheader'); %>
    <div class="promotiondetail">
        <div v-if="showitem==0">
            <div class="promotion_tit">
                <span><%= __('extensionUser') %></span>
            </div>
            <div class="Promotiontab">
                <ul class="Promote-users">
                        <template>
                                <div class="list" v-if=" myinvitation.list.length==0"><%= __('NoData') %></div>
                        </template>
                    <template v-if="myinvitation.list.length">
                        <li v-for="(item,index) in myinvitation.list">
                            <p class="clear">
                                <span class="fl userlist" v-html="item.email"></span>
                                <span class="listtime userlist fr" v-html="getTime(item.createdAt)"></span>
                            </p>
                        </li>
                    </template>
                    <!-- <li v-show="myinvitation.p<Math.ceil(myinvitation.total/myinvitation.s)"><div class="loadMore" @click="unescaa()"><%= __('loadMore') %></div></li> -->
                </ul>
            </div>
        </div>
        <div v-if="showitem==1">
            <div class="promotion_tit">
                <img :src="'/mimage/'+usercommision.coin+'.png'" alt="">
                <span>{{usercommision.coin}} <%= __('extensionDetail') %></span>
            </div>
            <div class="Promotiontab">
                <ul class="Promote-users">
                    <template>
                            <div class="list" v-if=" usercommision.list.length==0"><%= __('NoData') %></div>
                    </template>
                    <template v-if="usercommision.list.length">
                        <li v-for="(item,index) in usercommision.list">
                            <p class="clear">
                                <span class="fl" v-html="item.coin"></span>
                                <span class="listtime fr" v-html="getTime(item.time)"></span>
                            </p>
                            <p class="clear">
                                <span class="fl" v-html="InterceptionMailbox(item.remark)"></span>
                                <span class="fr" v-html="item.amount"></span>
                            </p>
                        </li>
                    </template>
                    <li v-show="usercommision.p<Math.ceil(usercommision.total/usercommision.s)"><div class="loadMore" @click="unesca()"><%= __('loadMore') %></div></li>
                </ul>
            </div>
        </div>
    </div>
    <%- include('base/mfooter'); %>
</body>
</html>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
<script async src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="/mjs/promotiondetail.js"></script>
